package com.sanq.product.mcgs.service;

import com.sanq.product.config.utils.entity.Pager;
import com.sanq.product.config.utils.entity.Pagination;
import com.sanq.product.mcgs.entity.vo.MemberVo;

import java.util.List;

public interface MemberService {
	
	int save(MemberVo memberVo);
	
	int delete(MemberVo memberVo);
	
	int update(MemberVo memberVo, Integer id);
	
	MemberVo findById(Integer id);
	
	List<MemberVo> findList(MemberVo memberVo);
	
	Pager<MemberVo> findListByPage(MemberVo memberVo, Pagination pagination);
	
	int findCount(MemberVo memberVo);
	
	void saveByList(List<MemberVo> memberVos);

    MemberVo login(MemberVo memberVo);

}